package com.iron.servicemicroironblog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.iron.servicemicroironblog.model.po.DemoPo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: 绝城孤影
 * @Date: 2024/10/21 20:55
 * @Version: v1.0.0
 * @Description:
 **/
@Mapper
public interface DemoMapper extends BaseMapper<DemoPo>{

	/**
	 * xml自定义查询
	 *
	 * @param name 用户名字
	 * @return 获取用户信息
	 */
	List<DemoPo> selectAllByName(String name);
}
